﻿# Finisher: Added the degen inheritance for patch

# scope:parent1 is the futa father
# scope:parent2 is the birth mother
# scope:futa_born_child is the child
futa_regula_inheritance = {
	scope:futa_born_child = {
		#charmer
		if = {			
				limit = {
					is_female = yes
					OR = {
						scope:parent1 = { has_trait = regula_fascinare_bloodline }
						scope:parent2 = { has_trait = regula_fascinare_bloodline }
					}
				}
				add_trait = regula_fascinare_bloodline
			}
			if = {			
				limit = {
					is_female = yes
					OR = {
						scope:parent1 = { has_trait = regula_domitans_bloodline }
						scope:parent2 = { has_trait = regula_domitans_bloodline }
					}
				}
				add_trait = regula_domitans_bloodline
			}
			if = {			
				limit = {
					is_female = yes
					OR = {
						scope:parent1 = { has_trait = regula_obedience_bloodline }
						scope:parent2 = { has_trait = regula_obedience_bloodline }
					}
				}
				add_trait = regula_obedience_bloodline
			}
			
			if = {			
				limit = {
					is_male = yes
					OR = {
						scope:parent1 = { has_trait = regula_contubernalis_bloodline }
						scope:parent2 = { has_trait = regula_contubernalis_bloodline }
					}
				}
				add_trait = regula_contubernalis_bloodline
			}
		
			if = {			
				limit = {
					is_male = yes
					OR = {
						scope:parent1 = { has_trait = regula_domination_war_bloodline }
						scope:parent2 = { has_trait = regula_domination_war_bloodline }
					}
				}
				add_trait = regula_domination_war_bloodline
			}
		}
		
			if = {			
				limit = {
					is_male = yes
					OR = {
						scope:parent1 = { has_trait = regula_servitude_war_bloodline }
						scope:parent2 = { has_trait = regula_servitude_war_bloodline }
					}
				}
				add_trait = regula_servitude_war_bloodline
			}
			if = {			
				limit = {
					is_male = yes
					OR = {
						scope:parent1 = { has_trait = regula_potestas_queen_bloodline }
						scope:parent2 = { has_trait = regula_potestas_queen_bloodline }
					}
				}
				add_trait = regula_potestas_queen_bloodline
			}
			if = {			
				limit = {
					OR = {
						scope:parent1 = { has_trait = regula_multitasker_bloodline }
						scope:parent2 = { has_trait = regula_multitasker_bloodline }
					}
				}
				add_trait = regula_multitasker_bloodline
			}
			if = {			
				limit = {
					is_female = yes
					OR = {
						scope:parent1 = { has_trait = regula_bun_bloodline }
						scope:parent2 = { has_trait = regula_bun_bloodline }
					}
				}
				add_trait = regula_bun_bloodline
			}
		}

